package org.beetl.json.loc;

import org.beetl.json.Location;
import org.beetl.json.OutputNode;

public class AttributeLocation extends Location {

	String attrName ;
	public AttributeLocation(String attrName){
		this.attrName = attrName;
	}
	@Override
	public boolean match(OutputNode node,Class type, String field) {
		return field.equals(attrName);
	}
}
